﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace Masterduner.SourceStudio.Practices.DevelopmentLibrary.Utilities.DataConfiguration.Controls
{
    public partial class DatabaseProviderDescription : UserControl
    {
        public DatabaseProviderDescription()
        {
            InitializeComponent();
        }

        public string DatabaseName
        {
            get { return this.label1.Text; }
            set { this.label1.Text = string.Format("名称：{0}", value); }
        }

        public string DatabaseType
        {
            get { return this.label2.Text; }
            set { this.label2.Text = string.Format("类型：{0}", value); }
        }

        private void DatabaseProviderDescription_Load(object sender, EventArgs e)
        {
            this.BackColor = ColorTranslator.FromHtml("#93CA76");
        }
    }
}
